/// @description Insert description here
// You can write your code in this editor
with(objPlayer)
{
	if(place_meeting(image_xscale == 1 ? x:x+32,y,other) && keyboard_check_pressed(global.enterKey))
	{
		if(other.setx && other.sety)
		{
			global.playerX = other.setx;
			global.playerY = other.sety;
		}
		room_goto(other.setroom);
	}
}